/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package gestiontienda.dataaccess.domain.hibernate;

import gestiontienda.dataaccess.base.hibernate.HibernateGenericDAO;
import gestiontienda.dataaccess.base.hibernate.HibernateUtil;
import gestiontienda.dataaccess.domain.ProductoDAO;
import gestiontienda.dataaccess.model.ProductoVO;


/**
 *
 * @author igorov
 */
public class HibernateProductoDAO extends HibernateGenericDAO<ProductoVO, Integer> implements ProductoDAO {

    public HibernateProductoDAO() {
        super(ProductoVO.class);
        super.getAdaptee().setSessionFactory(HibernateUtil.getSessionFactory());
//        super.setSessionFactory(HibernateUtil.getSessionFactory());
    }

}
